Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the supportsDocumentColors warning in MOZCENTRAL builds (bug 844349 follow-up) #11521

Merged
merged 2 commits into from
Jan 19, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

With https://bugzilla.mozilla.org/show_bug.cgi?id=844349 now being fixed in Firefox, the textLayer will now actually stay hidden as intended regardless of the browser settings.
Hence it should no longer be necessary to display the fallback bar, nor print a warning in the console, for documents which contains a textLayer.

Besides removing the supportsDocumentColors methods in the default viewer, we can also remove a now unused l10n string.

… to classes with static methods

This seems nicer overall, since it's now a bit clearer that the various build targets *extend* the default implementation.
… 844349 follow-up)

With https://bugzilla.mozilla.org/show_bug.cgi?id=844349 now being fixed in Firefox, the textLayer will now actually stay hidden as intended regardless of the browser settings.
Hence it should no longer be necessary to display the fallback bar, nor print a warning in the console, for documents which contains a textLayer.

Besides removing the `supportsDocumentColors` methods in the default viewer, we can also remove a now unused l10n string.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/6d12d1c5a7ff4ca/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/6d12d1c5a7ff4ca/output.txt

Total script time: 9.40 mins

Published

@timvandermeij timvandermeij merged commit 918f0ff into mozilla:master Jan 19, 2020
@timvandermeij
Copy link
Contributor

Nice clean-up!

@Snuffleupagus Snuffleupagus deleted the rm-supportsDocumentColors branch January 19, 2020 16:41
xeonchen pushed a commit to xeonchen/gecko that referenced this pull request Mar 27, 2020
…Viewer. r=bdahl

As part of the work to clean-up the event dispatching in the PDF Viewer, particularily re-dispatching of internal `EventBus` events to the DOM, this patch is necessary to unblock the upstream work that's currently pending in [PR 11655](mozilla/pdf.js#11655).

Finally, the patch also removes the `ChromeActions.supportsDocumentColors` method given that it's been unused since [bug 1611175](https://bugzilla.mozilla.org/show_bug.cgi?id=1611175) and [PR 11521](mozilla/pdf.js#11521).

Differential Revision: https://phabricator.services.mozilla.com/D68533
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 28, 2020
…Viewer. r=bdahl

As part of the work to clean-up the event dispatching in the PDF Viewer, particularily re-dispatching of internal `EventBus` events to the DOM, this patch is necessary to unblock the upstream work that's currently pending in [PR 11655](mozilla/pdf.js#11655).

Finally, the patch also removes the `ChromeActions.supportsDocumentColors` method given that it's been unused since [bug 1611175](https://bugzilla.mozilla.org/show_bug.cgi?id=1611175) and [PR 11521](mozilla/pdf.js#11521).

Differential Revision: https://phabricator.services.mozilla.com/D68533

--HG--
extra : moz-landing-system : lando
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Mar 31, 2020
…Viewer. r=bdahl

As part of the work to clean-up the event dispatching in the PDF Viewer, particularily re-dispatching of internal `EventBus` events to the DOM, this patch is necessary to unblock the upstream work that's currently pending in [PR 11655](mozilla/pdf.js#11655).

Finally, the patch also removes the `ChromeActions.supportsDocumentColors` method given that it's been unused since [bug 1611175](https://bugzilla.mozilla.org/show_bug.cgi?id=1611175) and [PR 11521](mozilla/pdf.js#11521).

Differential Revision: https://phabricator.services.mozilla.com/D68533

UltraBlame original commit: 535dc6cf908145933612e554ca3680013a154757
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Mar 31, 2020
…Viewer. r=bdahl

As part of the work to clean-up the event dispatching in the PDF Viewer, particularily re-dispatching of internal `EventBus` events to the DOM, this patch is necessary to unblock the upstream work that's currently pending in [PR 11655](mozilla/pdf.js#11655).

Finally, the patch also removes the `ChromeActions.supportsDocumentColors` method given that it's been unused since [bug 1611175](https://bugzilla.mozilla.org/show_bug.cgi?id=1611175) and [PR 11521](mozilla/pdf.js#11521).

Differential Revision: https://phabricator.services.mozilla.com/D68533

UltraBlame original commit: 535dc6cf908145933612e554ca3680013a154757
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Mar 31, 2020
…Viewer. r=bdahl

As part of the work to clean-up the event dispatching in the PDF Viewer, particularily re-dispatching of internal `EventBus` events to the DOM, this patch is necessary to unblock the upstream work that's currently pending in [PR 11655](mozilla/pdf.js#11655).

Finally, the patch also removes the `ChromeActions.supportsDocumentColors` method given that it's been unused since [bug 1611175](https://bugzilla.mozilla.org/show_bug.cgi?id=1611175) and [PR 11521](mozilla/pdf.js#11521).

Differential Revision: https://phabricator.services.mozilla.com/D68533

UltraBlame original commit: 535dc6cf908145933612e554ca3680013a154757
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants